import BaseComponent from '../../prototype/BaseComponent.js'

class Order extends BaseComponent {
	constructor() {
		super();
		this.queryOrderList = this.queryOrderList.bind(this);
		this.queryOrderDetailById = this.queryOrderDetailById.bind(this);
		this.addOrderItem = this.addOrderItem.bind(this);
		this.editOrderItem = this.editOrderItem.bind(this);
		this.delOrderItem = this.delOrderItem.bind(this);
	}
	queryOrderList(req, res, next){
		res.send({
			status: 10,
			type: 'ERROR_TO_GET_HONGBAO_DATA',
			message: 'queryOrderList'
		})
	}
	queryOrderDetailById(req, res, next) {
		res.send({
			status: 10,
			type: 'ERROR_TO_GET_HONGBAO_DATA',
			message: 'queryOrderDetailById'
		})
	}
	addOrderItem(req, res, next) {
		res.send({
			status: 10,
			type: 'ERROR_TO_GET_HONGBAO_DATA',
			message: 'addOrderItem'
		})
	}
	editOrderItem(req, res, next) {
		res.send({
			status: 10,
			type: 'ERROR_TO_GET_HONGBAO_DATA',
			message: 'editOrderItem'
		})
	}
	delOrderItem(req, res, next) {
		res.send({
			status: 10,
			type: 'ERROR_TO_GET_HONGBAO_DATA',
			message: 'delOrderItem'
		})
	}
}
export default new Order();